Skip to content

Add the AuthorAssociation field to PullRequestReview - #1413

Merged
gmlewis merged 1 commit into
google:masterfrom
qaisjp:master
Feb 8, 2020
Merged

gmlewis merged 1 commit into
google:masterfrom
qaisjp:master

Conversation

@qaisjp

@qaisjp qaisjp commented Feb 8, 2020

Copy link
Copy Markdown
Contributor

#892 and #802, electric boogaloo.

@googlebot googlebot added the cla: yes Indication that the PR author has signed a Google Contributor License Agreement. label Feb 8, 2020
@gmlewis

gmlewis commented Feb 8, 2020

Copy link
Copy Markdown
Collaborator

Thank you, @qaisjp.

As in #892, could you please contact support@github.com and request that they update their examples where appropriate on this page: https://developer.github.com/v3/pulls/reviews/#list-reviews-on-a-pull-request
to include this field and report back their response?

@qaisjp

qaisjp commented Feb 8, 2020

Copy link
Copy Markdown
Contributor Author

sent.

I suspect there will be more places where this is missing, a future PR author can use this canned message:

Some of the responses on https://developer.github.com/v3/pulls/reviews/ are missing the `author_association` key, specifically https://developer.github.com/v3/pulls/reviews/#list-reviews-on-a-pull-request.

The API is returning that info, but it's not documented. Is that a documentation mistake or should `author_association` not actually be in the response?

@gmlewis gmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Merging.
Please post the reply you get back from GitHub tech support to this (closed) issue for posterity.
Thanks again, @qaisjp!

@gmlewis
gmlewis merged commit 85084c0 into google:master Feb 8, 2020
@qaisjp

qaisjp commented Feb 27, 2020

Copy link
Copy Markdown
Contributor Author

Hello -

Thanks for the report and sorry for the delay!

I believe this is a documentation issue - we'll go ahead and mention this to our documentation team and if I find out differently, we'll let you know.

Thanks again for reporting!

@gmlewis

gmlewis commented Feb 27, 2020

Copy link
Copy Markdown
Collaborator

Thank you for reporting back their response, @qaisjp!
It is greatly appreciated!

n1lesh pushed a commit to n1lesh/go-github that referenced this pull request Oct 2, 2020
jlaportebot added a commit to jlaportebot/go-github that referenced this pull request Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Indication that the PR author has signed a Google Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants